Release 10.1A: OpenEdge Development:
ADM and SmartObjects
Functions for accessing properties
The following property functions are useful for accessing SmartObject properties from application code:
- The
assignLinkPropertyfunction sets a property value in one or more objects at the other end of the specified link. It is defined as follows:
For example, the following code in a SmartDataObject uses
assignLinkPropertyto set theDataModifiedproperty toyesin all its Data-Targets:
- The
linkPropertyfunction returns the value of the specified property in the single object at the other end of the specified link. It is defined as follows:
For example, the following code in a visual object (a SmartDataViewer or a SmartDataBrowser) uses
linkPropertyto get the current page of the object’s container:
- The
propertyTypefunction returns the data type of the specified property. It is defined as follows:
For example, the following code in a SmartDataObject gets the data type of its
DataQueryBrowsedproperty:
This function returns data types only for properties for which a
setpropnamefunction is defined.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |